package com.ffcs.web.model.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Pinggu entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "wechat_pinggu")
public class Pinggu implements java.io.Serializable {

	// Fields

	private Integer id;
	private String pingguTitle;
	private String pingguMark;
	private Integer pingguCount;
	private String question;

	// Constructors

	/** default constructor */
	public Pinggu() {
	}

	/** full constructor */
	public Pinggu(String pingguTitle, String pingguMark, Integer pingguCount,
			String question) {
		this.pingguTitle = pingguTitle;
		this.pingguMark = pingguMark;
		this.pingguCount = pingguCount;
		this.question = question;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "pingguTitle", nullable = false, length = 100)
	public String getPingguTitle() {
		return this.pingguTitle;
	}

	public void setPingguTitle(String pingguTitle) {
		this.pingguTitle = pingguTitle;
	}

	@Column(name = "pingguMark", nullable = false, length = 1000)
	public String getPingguMark() {
		return this.pingguMark;
	}

	public void setPingguMark(String pingguMark) {
		this.pingguMark = pingguMark;
	}

	@Column(name = "pingguCount", nullable = false)
	public Integer getPingguCount() {
		return this.pingguCount;
	}

	public void setPingguCount(Integer pingguCount) {
		this.pingguCount = pingguCount;
	}

	@Column(name = "question", nullable = false, length = 200)
	public String getQuestion() {
		return this.question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}

}